package com.allen.study.common.exception;

import lombok.Getter;

/**
 * 流程异常
 *
 * @author AllenSun
 */
@Getter
public class CustomRuntimeException extends BaseException {
    private static final long serialVersionUID = 1L;

    public CustomRuntimeException(Integer code, String message) {
        super("process", code, message);
    }

    public CustomRuntimeException(String message) {
        super("process", 500, message);
    }
}
